//Unit codes --- there is no error checking
//0 = Headquarters
//1 = Infantry Division
//2 = Small Corps
//3 = Large Corps
//4 = Army
//5 = Cavalry
//6 = Marine Division
//7 = Paratrooper Corps
//8 = Mountain Corps
//9 = Mechanized Corps
//10 = Armor
//11 = Air Superiority Group
//12 = Ground Attack Group
//13 = Tactical Air Group
//14 = Strategic Air Group
//15 = Submarine Group
//16 = Patrol Group
//17 = Cruiser Group
//18 = Battle Group

//advancement codes --- there is no error checking
//0 = Infantry
//1 = Anti-tank
//2 = Breakthrough
//3 = Heavy Armor
//4 = Interceptors
//5 = Escort Fighters
//6 = Fighter Bombers
//7 = Close Support
//8 = Strategic Bombing
//9 = Naval Air Training
//10 = Sonar and Electronics
//11 = Large Warships
//12 = Warships
//13 = Carrier Operations
//14 = Convoy Escort - not used for units
//15 = Attack Submarine
//16 = Long range Submarine

//unit attributes
//0 = Strength
//1 = Firearms
//2 = Guns
//3 = Artillery
//4 = Tanks
//5 = Air Combat
//6 = Tactical
//7 = Strategic
//8 = Naval Air
//9 = Surface
//10 = Anti-Sub
//11 = Anti-Air
//12 = Defense
//13 = Operation Points
//14 = Range (land units are 1)
//15 = Days
//16 = Production Cost
//17 = Oil Use
//18 = Availability (0=can't build, 1=can build)

//Germans can't get supply in Belfast without control of Glasgow
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Glasgow
xyControl=129,70,Allies
//Belfast
xyArea=126,67,1
$End

//USA at 100% message for players
$Information
if_Date=1/1/1939
if_Country=3
if_Alliance=Allies
lifespan=tillTrigger
text=The USA has joined the Western Allies and may declare war on all other countries that are neutral or Axis.
addReportTo=Allies
$End

//USSR at 100% message for players
$Information
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
text=The USSR has joined the Western Allies and may declare war on all other countries that are neutral or Axis.
addReportTo=Allies
$End

//Italy at 100% message for players
$Information
if_Date=1/1/1939
if_Country=7
if_Alliance=Axis
lifespan=tillTrigger
text=Italy has joined the Axis and may declare war on all other countries that are neutral or Allied.
addReportTo=Axis
$End

//UK may build armor
$ChangeUnitAttributes
if_Date=3/1/1940
targetCountry=1
lifespan=tillTrigger
unitID=9
stats=30,4,3,2,2,0,0,0,0,0,0,2,6,9,1,130,300,3,1
text=UK tank production has geared up to allow the production of armor and mechanized units.
addReportTo=Allies
$End

//UK may build mech
$ChangeUnitAttributes
if_Date=3/1/1940
targetCountry=1
lifespan=tillTrigger
unitID=10
stats=30,3,1,4,5,0,0,0,0,0,0,2,7,9,1,200,360,3,1
$End


//##########################################
//UK give A.I. transports and landing craft
$ModifyCountry
if_Date=3/1/1942
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=6/1/1942
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=9/1/1942
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=1/1/1943
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=3/1/1943
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=6/1/1943
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=9/1/1943
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

$ModifyCountry
if_Date=1/1/1944
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=35
landingCraft=20
$End

//##########################################
//USA give A.I. transports and landing craft
$ModifyCountry
if_Date=3/1/1942
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=30
$End

$ModifyCountry
if_Date=6/1/1942
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=9/1/1942
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=1/1/1943
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=3/1/1943
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=6/1/1943
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=9/1/1943
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=100
landingCraft=100
$End

$ModifyCountry
if_Date=1/1/1944
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
transports=200
landingCraft=200
$End

//########################
//Give Allied A.I. escorts
//1939
$ModifyCountry
if_Date=1/1/1939
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=12
$End


//Give Allied A.I. escorts
//1940
$ModifyCountry
if_Date=6/1/1940
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=15
$End

//1941
$ModifyCountry
if_Date=6/1/1941
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=12
$End

//1942
$ModifyCountry
if_Date=6/1/1942
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=12
$End

//1943
$ModifyCountry
if_Date=6/1/1943
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=12
$End


//1944
$ModifyCountry
if_Date=6/1/1944
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=7
$End


//1943
$ModifyCountry
if_Date=6/1/1943
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=30
$End


//1944
$ModifyCountry
if_Date=6/1/1944
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
escorts=30
$End

//Change beaches in Denmark to allow minefield in Skagerrak Straits
$ChangeTerritory
if_Date=9/1/1939
if_Country=17
if_Surrender=true
actionCountry=1
targetCountry=6
lifespan=tillTrigger
xyArea=153,73
xyArea=154,73
$End

//Axis minefields in Skagerrak Straits
$GiveResource
if_Date=9/1/1939
if_Country=38
if_Surrender=true
xyControl=153,74,Axis
xyControl=153,73,Axis
actionCountry=6
lifespan=tillTrigger
xyArea=153,74,66
xyArea=153,73,66
addReportTo=All
text=Germany lays naval minefields in the Skagerrak Straits after the fall of Norway.
$End

//UK leand lease Norwegian MMs message
$ModifyCountry
if_Date=10/13/1939
if_Country=38
if_Surrender=false
actionCountry=1
lifespan=tillTrigger
addReportTo=All
merchantMarine=20
text=The UK concludes a lease agreement for Norwegian tankers 20 are added to the UK merchant marine
$End

//Germany captures some Norwegian merchant marine
$ModifyCountry
if_Date=9/1/1939
if_Country=38
if_Surrender=true
actionCountry=6
xyControl=155,76,Axis
lifespan=tillTrigger
addReportTo=All
merchantMarine=7
text=Norwegian merchant marine couldn't escape to the UK through the German blockade of the Baltic Sea. Germany gains 7 merchant marine.
$End

//If Netherlands is attacked Belgium will join the Allies
$ChangeEntry
if_Date=1/1/1939
if_Country=36
if_Alliance=Allies
//Belgium is neutral
xyControl=144,57,Neutral
//Luxembourg
xyControl=147,54,Neutral
actionCountry=1
targetCountry=12
lifespan=tillTrigger
text=Belgium joins the Allies after Germany declares war on Netherlands fearing they will be invaded.
addReportTo=All
entryShift=-200
$End

//If Luxembourg is attacked Belgium will join the Allies
$ChangeEntry
if_Date=1/1/1939
if_Country=31
if_Alliance=Allies
//Belgium is neutral
xyControl=144,57,Neutral
actionCountry=1
targetCountry=12
lifespan=tillTrigger
text=Belgium joins the Allies after Germany declares war on Luxembourg fearing they will be invaded.
addReportTo=All
entryShift=-200
$End

//UK minefields in George's Channel
$GiveResource
if_Date=7/5/1940
if_Country=2
if_Surrender=true
actionCountry=1
lifespan=tillTrigger
xyArea=129,57,66
xyArea=128,58,66
xyArea=127,58,66
xyArea=127,59,66
xyArea=126,60,66
addReportTo=All
text=The UK adds a series of naval mine fields in George's Channel near Cardiff
$End

//UK minefields in George's Channel Ireland hex since script only write to control of hex
$GiveResource
if_Date=7/5/1940
if_Country=2
if_Surrender=true
actionCountry=28
lifespan=tillTrigger
xyArea=126,60,66
$End

//USA national guard mobilizes if Axis invades North America
$GiveUnit
if_Date=1/1/1939
landUnitInRadius=0,35,1,50,Axis
actionCountry=3
lifespan=tillTrigger
unitID=3
advancement=0
xyArea=1,31
name=1st NG Corps
text=National Guard mobilized at Buffalo
addReportTo=Allies
$End

//USA national guard mobilizes if Axis invades North America
$GiveUnit
if_Date=1/1/1939
landUnitInRadius=0,35,1,50,Axis
actionCountry=3
lifespan=tillTrigger
unitID=3
advancement=0
xyArea=3,16
name=2nd NG Corps
text=National Guard mobilized at Richmond
addReportTo=Allies
$End

//USA national guard mobilizes if Axis invades North America
$GiveUnit
if_Date=1/1/1939
landUnitInRadius=0,35,1,50,Axis
actionCountry=3
lifespan=tillTrigger
unitID=3
advancement=0
xyArea=4,19
name=3rd NG Corps
text=National Guard mobilized at Washington D.C.
addReportTo=Allies
$End

//USA national guard mobilizes if Axis invades North America
$GiveUnit
if_Date=1/1/1939
landUnitInRadius=0,35,1,50,Axis
actionCountry=3
lifespan=tillTrigger
unitID=3
advancement=0
xyArea=8,24
name=4th NG Corps
text=National Guard mobilized at New York
addReportTo=Allies
$End

//If the UK invades Norway the following will occur
//Norway if attacked by Allies
$GiveUnit
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
actionCountry=6
lifespan=tillTrigger
unitID=2
advancement=0
xyArea=155,76
name=Freiwilligen Corps Norwegen
text=Volunteers join Germany's Waffen SS in large numbers due to the Allied invasion. A small corps is formed.
addReportTo=All
$End

//Norway if attacked by Allies - Spain +15 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
actionCountry=6
targetCountry=45
lifespan=tillTrigger
text=Spain becomes closer to Germany due to the Allied invasion of Norway and shifts close to the Axis.
addReportTo=All
entryShift=-15
$End

//Portugal if attacked by Allies - Spain +200 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=43
if_Alliance=Axis
actionCountry=6
targetCountry=45
lifespan=tillTrigger
text=Operation Isabella is activated. Reserves are called up and Spain asks the Germans for assistance.
addReportTo=All
entryShift=-200
$End

//Norway if attacked by Allies - Sweden +15 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
actionCountry=6
targetCountry=47
lifespan=tillTrigger
text=Sweden is concerned by the Allied invasion of Norway and activates reserves
addReportTo=All
entryShift=-15
$End

//Norway if attacked by Allies - Sweden activates small corps at iron ore mines
$GiveUnit
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
actionCountry=47
lifespan=tillTrigger
unitID=2
advancement=0
xyArea=172,90
$End

//Norway if attacked by Allies - Portugal +15 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
actionCountry=6
targetCountry=43
lifespan=tillTrigger
text=Portugal is concerned by the Allied invasion of Norway and shifts close to the Axis
addReportTo=All
entryShift=-15
$End

//Italy joins the Axis June 1st 1940
//Balance for France issue
$ChangeEntry
if_Date=6/1/1940
if_Country=7
if_Alliance=Neutral
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=Italy joins the Axis powers and may declare war on any country.
$End

//Egypt left ungarrisoned if attacked by Allies - Italy +200 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
//if the UK has less than 6 units in Egypt, Palestine, and Jordan Italy can declare war
landUnitInRadius=193,8,-6,10,Allies
targetCountry=7
lifespan=tillTrigger
text=Italy enters on the Axis side as the UK leaves the Middle East under garrisoned
addReportTo=All
entryShift=-200
$End

//Norway if attacked by Allies - Italy +15 Axis
$ChangeEntry
if_Date=1/1/1939
if_Country=38
if_Alliance=Axis
targetCountry=7
lifespan=tillTrigger
text=Italy gears closer to war as the UK deploys resources away from the Mediterranean.
addReportTo=All
entryShift=-15
$End

//If Lenningrad is held by Axis its port is unavailable for supply
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Leningrad
xyControl=187,77,Axis
//Leningrad port
xyArea=186,77,2
$End

//Axis control surrounding hexes cut off Leningrad
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Leningrad
xyControl=189,77,Axis
//Leningrad port
xyArea=186,77,2
$End

//Axis control surrounding hexes cut off Leningrad
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Leningrad
xyControl=190,78,Axis
//Leningrad port
xyArea=186,77,2
$End

//If Kerch Pass controlled by Allies an Axis Rostov gets no port supplies
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Kerch straits
xyControl=199,43,Allies
//Rostov
xyArea=205,48,1
$End

//If Kerch Pass controlled by Axis an Allied Rostov gets no port supplies
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Kerch straits
xyControl=199,43,Axis
//Rostov
xyArea=205,48,2
$End

//Axis can't get supplies from Caspian Sea
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Baku, Astrakhan, Kransnovdsk
xyArea=223,31,1
xyArea=221,46,1
xyArea=228,33,1
$End

//Axis can't get supplies from Caspian Sea
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//USSR still in the game owning Urals
xyControl=241,75,Allies
//Baku, Astrakhan, Kransnovdsk
xyArea=223,31,1
xyArea=221,46,1
xyArea=228,33,1
$End

//If Gibraltar and Egypt held by Axis then ports inside the Mediterranean Sea don't provide supply for Allies
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Gib
xyControl=127,21,Axis
//Port Said
xyControl=194,11,Axis
//All ports in the Mediterranean
xyArea=129,23,2
xyArea=132,20,2
xyArea=134,25,2
xyArea=135,20,2
xyArea=136,31,2
xyArea=140,29,2
xyArea=141,35,2
xyArea=142,23,2
xyArea=146,39,2
xyArea=148,23,2
xyArea=148,40,2
xyArea=151,35,2
xyArea=152,37,2
xyArea=152,42,2
xyArea=153,29,2
xyArea=153,33,2
xyArea=154,17,2
xyArea=154,23,2
xyArea=154,41,2
xyArea=155,20,2
xyArea=155,38,2
xyArea=157,35,2
xyArea=157,44,2
xyArea=160,14,2
xyArea=160,26,2
xyArea=160,39,2
xyArea=160,46,2
xyArea=161,21,2
xyArea=161,36,2
xyArea=162,24,2
xyArea=162,32,2
xyArea=162,33,2
xyArea=163,26,2
xyArea=164,11,2
xyArea=164,26,2
xyArea=164,41,2
xyArea=165,33,2
xyArea=166,29,2
xyArea=167,32,2
xyArea=169,36,2
xyArea=171,32,2
xyArea=172,13,2
xyArea=174,24,2
xyArea=176,31,2
xyArea=177,26,2
xyArea=178,13,2
xyArea=179,20,2
xyArea=182,27,2
xyArea=184,21,2
xyArea=187,31,2
xyArea=190,24,2
xyArea=191,10,2
xyArea=193,18,2
xyArea=195,19,2
xyArea=195,23,2
xyArea=197,13,2
xyArea=198,17,2
xyArea=199,18,2
$End

//Allies may only draw supply in the Baltic Sea if they control Helsinki or Copenhagen
$SuppressPort
if_Date=1/1/1939
lifespan=continuous
//Copenhagen
xyControl=157,70,Axis
//Helsinki
xyControl=179,78,Axis
//All ports in the Baltic Sea
xyArea=154,66,2
xyArea=155,65,2
xyArea=161,63,2
xyArea=169,66,2
xyArea=172,68,2
xyArea=178,72,2
xyArea=179,75,2
xyArea=180,85,2
xyArea=186,77,2
$End

//USSR loses ability to build large corps
$ChangeUnitAttributes
if_Date=1/1/1942
if_Country=4
if_Alliance=Neutral
lifespan=tillTrigger
targetCountry=4
unitID=3
stats=20,3,2,2,0,0,0,0,0,0,0,1,5,5,1,60,180,0,0
$End

//USSR can build Armies now
$ChangeUnitAttributes
if_Date=1/1/1942
if_Country=4
if_Alliance=Neutral
lifespan=tillTrigger
targetCountry=4
unitID=4
stats=36,4,2,2,0,0,0,0,0,0,0,1,5,5,1,60,180,0,1
text=The Soviet Union has completely reorganized their military, replacing the Western European Large Corps model with the improved Army land units.
addReportTo=Allies
$End

//USSR loses ability to build large corps
$ChangeUnitAttributes
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
targetCountry=4
unitID=3
stats=20,3,2,2,0,0,0,0,0,0,0,1,5,5,1,60,180,0,0
addReportTo=Allies
$End

//USSR can build Armies now
$ChangeUnitAttributes
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
targetCountry=4
unitID=4
stats=36,4,2,2,0,0,0,0,0,0,0,1,5,5,1,60,180,0,1
text=The USSR has completely reorganizing their military allowing the improved Army land unit is available to build replacing the Western European Large Corps model.
addReportTo=Allies
$End

//USSR air units increase in values as 1933 I-15s and I-16s are replaced with modern aircraft in 1942
$ChangeUnitAttributes
if_Date=1/1/1942
lifespan=tillTrigger
targetCountry=4
unitID=11
stats=20,0,0,0,0,7,2,0,1,0,1,2,7,2,6,180,180,1,1
text=The USSR replaces obsolete fighters in noticable amounts. Air combat is increased to 7 and defense to 6 for air superiority groups.
$End

//USSR Increase Mech OPs and stats
$ChangeUnitAttributes
if_Date=4/1/1942
targetCountry=4
lifespan=tillTrigger
unitID=9
stats=30,4,3,2,3,0,0,0,0,0,0,3,6,7,1,130,300,2,1
text=Soviet forces continue the reorganization of their armies. They study the German blitzkrieg and improve their own mobile warfare doctrines. Soviet mechanized and armor corps operation points increase to 7. Mechanized units gain +1 artillery.
addReportTo=Allies
$End

//USSR Increase Mech OPs and stats
$ChangeUnitAttributes
if_Date=10/1/1942
targetCountry=4
lifespan=tillTrigger
unitID=9
stats=30,4,3,3,3,0,0,0,0,0,0,3,6,7,1,130,300,2,1
text=Soviet forces continue the reorganization of their armies. Mechanized units gain +1 guns.
addReportTo=Allies
$End

//USSR Increase Mech OPs
$ChangeUnitAttributes
if_Date=3/1/1943
lifespan=tillTrigger
targetCountry=4
unitID=9
stats=30,4,3,3,3,0,0,0,0,0,0,3,6,9,1,130,300,2,1
text=Soviet forces have learned how to maximize their armored formations from the engagements with the Germans. Their powerful armored and mechanized corps are now as mobile as their adversaries in the field of battle. Soviet mechanized and armor corps operation points increase to 9.
addReportTo=Allies
$End

//USSR Increase Armor OPs
$ChangeUnitAttributes
if_Date=4/1/1942
lifespan=tillTrigger
targetCountry=4
unitID=10
stats=30,3,1,4,5,0,0,0,0,0,0,3,7,7,1,200,360,2,1
$End

//USSR Increase Armor OPs
$ChangeUnitAttributes
if_Date=3/1/1943
targetCountry=4
lifespan=tillTrigger
unitID=10
stats=30,3,1,4,5,0,0,0,0,0,0,3,7,9,1,200,360,2,1
$End

//Germany extra supply depots for Poland at game start
$ModifyCountry
if_Date=1/1/1939
actionCountry=6
lifespan=tillTrigger
AIOnlyEvent=Axis
supplyTruck=60
$End

//Italy joins the Axis if North Africa is vulnerable (Morocco)
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=122,15,-2,6,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving North Africa vulnerable Italy joins the Axis hoping to capture the French colonies from their adversary.
$End

//Italy joins the Axis if North Africa is vulnerable (Algeria)
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=142,22,-2,8,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving North Africa vulnerable Italy joins the Axis hoping to capture the French colonies from their adversary.
$End

//Italy joins the Axis if North Africa is vulnerable (Tunisia)
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=154,19,-3,5,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving North Africa vulnerable Italy joins the Axis hoping to capture the French colonies from their adversary.
$End

//Italy joins the Axis if North Africa is vulnerable (Syria)
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=202,18,-2,4,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving North Africa vulnerable Italy joins the Axis hoping to capture the French colonies from their adversary.
$End

//Italy joins the Axis if Alps are vulnerable
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=148,44,0,0,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France reducing the garrison at the Alps, Italy joins the Axis hoping to capture some territory to the West.
$End

//Italy joins the Axis if Alps are vulnerable
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=147,41,0,0,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving the Alps ungarrisoned Italy joins the Axis.
$End

//Italy joins the Axis if Alps are vulnerable
$ChangeEntry
if_Date=1/1/1939
if_Country=7
if_Alliance=Neutral
landUnitInRadius=148,40,0,0,Allies
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With France leaving the Alps ungarrisoned Italy joins the Axis.
$End

//UK declares war on Italy
$DeclareWar
if_Date=1/1/1939
if_Country=7
if_Alliance=Axis
xyControl=140,51,Axis
actionCountry=1
targetCountry=7
lifespan=tillTrigger
addReportTo=All
AIOnlyEvent=Allies
text=The UK notices Italy's mobilization and declares war on Italy.
$End

//France declares war on Italy
$DeclareWar
if_Date=1/1/1939
if_Country=7
if_Alliance=Axis
xyControl=140,51,Axis
actionCountry=2
targetCountry=7
lifespan=tillTrigger
addReportTo=All
AIOnlyEvent=Allies
text=France notices Italy's mobilization and declares war on Italy.
$End

//German message for going to war with Vichy France
$Information
if_Date=1/1/1939
if_Country=54
if_Surrender=true
if_Plan=2
AIOnlyEvent=Axis
lifespan=tillTrigger
text=Germany claims Vichy France violated the terms of their agreement and declares war on Vichy France. The Vichy colonies join the Allies.
addReportTo=All
$End

//German message for going to war with Spain
$Information
if_Date=1/1/1939
if_Country=45
if_Surrender=true
if_Plan=2
lifespan=tillTrigger
AIOnlyEvent=Axis
text=German negotiations with Spain for military assistance fail. The Abwehr reveals Spain has been also negotiating with the Allies. German high command decides to invade Spain to capture Gibraltar.
addReportTo=All
$End

//Message for the start of the conflict between Germany and the USSR
$Information
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
text=Before dawn a large artillery barrage begins causing casualties to units on the border between Germany and the USSR. War is declared!
addReportTo=All
$End

//USSR 1939+ change in entry if Germany fails to garrison the Polish border
$ChangeEntry
if_Date=1/1/1940
if_Country=4
if_Alliance=Neutral
landUnitInRadius=173,60,-6,10,Axis
targetCountry=4
lifespan=continuous
entryShift=2
addReportTo=All
text=Germany has less than 6 units within 10 hexes of Warsaw. The USSR entry has shifted 2% toward the Allies.
$End

//USSR +10 entry
$ChangeEntry
if_Date=6/1/1940
if_Country=4
if_Alliance=Neutral
targetCountry=4
lifespan=tillTrigger
entryShift=10
addReportTo=All
text=The USSR increases its preparation for war due to the concerns of the Western Allies not being able to contain Germany.
$End

//USSR +10 entry
$ChangeEntry
if_Date=1/1/1941
if_Country=4
if_Alliance=Neutral
targetCountry=4
lifespan=tillTrigger
entryShift=10
addReportTo=All
text=The USSR continues to reform its armies and increases military production for new arms, tanks, and planes.
$End

//USSR +5 entry
$ChangeEntry
if_Date=3/1/1942
if_Country=4
if_Alliance=Neutral
targetCountry=4
lifespan=tillTrigger
entryShift=5
addReportTo=All
text=Stalin's 5 year plan succeeds in increasing production and war readiniess for the European conflict.
$End

//USSR +5 entry
$ChangeEntry
if_Date=4/1/1942
if_Country=4
if_Alliance=Neutral
targetCountry=4
lifespan=tillTrigger
entryShift=5
addReportTo=All
text=Reformation of the USSR's army is almost complete. War readiness and military production increase.
$End

$ChangeEntry
if_Date=5/1/1942
if_Country=4
if_Alliance=Neutral
targetCountry=4
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=The Politburo of the Soviet Union applauds Stalin's reformation of the army and is prepared to go to war.
$End

//Germany extra supply depots for AI in Battle of France
//once Belgium surrenders
$ModifyCountry
if_Date=4/1/1940
if_Country=12
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
AIOnlyEvent=Axis
supplyTruck=120
$End

//USSR is ready for war
$ChangeEntry
if_Date=5/1/1942
targetCountry=4
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=The USSR's armies have been refitted and reorganized. They are fully prepared for war.
$End

//USA entry increases selective service
$ChangeEntry
if_Date=9/16/1940
if_Country=3
if_Alliance=Neutral
targetCountry=3
lifespan=tillTrigger
entryShift=5
addReportTo=All
text=the USA gears up its war preparation and institutes the Selective Service Training Act.
$End

//USA entry increases lend lease
$ChangeEntry
if_Date=3/11/1941
if_Country=3
if_Alliance=Neutral
targetCountry=3
lifespan=tillTrigger
entryShift=5
addReportTo=All
text=the USA begins Lend Lease to the UK gearing up further for war.
$End

//Faroe Islands are occupied by the UK
$ChangeTerritory
if_Date=1/1/1939
if_Country=38
if_Surrender=true
//Oslo
xyControl=155,76,Axis
actionCountry=6
targetCountry=1
lifespan=tillTrigger
xyArea=127,83
xyArea=127,82
xyArea=128,83
addReportTo=All
text=England occupies the Faroe Islands after the fall of Norway
$End

//Iceland is annexed by the UK
$Annex
if_Date=5/10/1940
if_Country=17
if_Surrender=true
actionCountry=24
targetCountry=1
lifespan=tillTrigger
surrender_FleetJoin=0
xyArea=allHexes
addReportTo=All
text=Iceland is occupied by UK forces under protest by its citizens.
$End

//USA entry increases extending the Pan-American Security Zone
$ChangeEntry
if_Date=4/18/1941
if_Country=3
if_Alliance=Neutral
targetCountry=3
lifespan=tillTrigger
entryShift=5
addReportTo=All
text=The USA extends the Pan-American Security Zone to Iceland. Roosevelt's actions will lead the USA closer to war.
$End

//USSR moves factories
$GiveResource
if_Date=8/1/1941
xyControl=206,59,Allies
actionCountry=4
lifespan=once
xyArea=206,59,30
addReportTo=Allies
text=Soviet rails Voronezh factories away from key industrial areas reducing production by 5.
$End

//USSR moves factories
$GiveResource
if_Date=9/1/1941
xyControl=199,57,Allies
actionCountry=4
lifespan=once
xyArea=199,57,30
addReportTo=Allies
text=Soviet rails Kursk factories away from key industrial areas reducing production by 5.
$End

//USSR moves factories
$GiveResource
if_Date=11/1/1941
xyControl=198,64,Allies
actionCountry=4
lifespan=once
xyArea=198,64,28
addReportTo=Allies
text=Soviet rails Moscow factories away from key industrial areas reducing production by 20.
$End

//USSR moves factories
$GiveResource
if_Date=3/15/1942
xyControl=233,73,Allies
actionCountry=4
lifespan=tillTrigger
xyArea=237,74,62
xyArea=226,74,25
addReportTo=Allies
text=Soviet railed factories come online in the Urals.
$End

//USSR moves factories
$GiveResource
if_Date=6/15/1942
actionCountry=4
lifespan=tillTrigger
xyArea=240,76,60
addReportTo=Allies
text=Soviet railed factories come online in the Urals.
$End

//UK resources get reduced due to Japan entering the war
$GiveResource
if_Date=12/7/1941
actionCountry=1
lifespan=tillTrigger
//removed 20 production for Pacific
xyArea=237,0,0
addReportTo=All
$End

//USA joins Allies
$ChangeEntry
if_Date=12/7/1941
targetCountry=3
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=The Empire of Japan has declared war on the United States of America. Plans are immediately drawn to mobilize the armed forces and convert civilian production to the military (+45 USA entry). Commonwealth resources are attacked and redirected to help in the Pacific war effort, -20 production from Pacific resources. The Senate has approved war declaration on the European Axis powers. The USA may declare WAR on Germany and Italy.
$End

//USA increases entry if Iceland is occupied by the Axis
$ChangeEntry
if_Date=1/1/1939
targetCountry=3
lifespan=tillTrigger
entryShift=25
landUnitInRadius=99,83,1,1,Axis
addReportTo=All
text=The Axis occupation of Iceland is a direct threat to the United States. The senate approves expenditures on military spending. +25 USA status.
$End

//USA joins Allies if Canada is invaded
$ChangeEntry
if_Date=1/1/1939
targetCountry=3
lifespan=tillTrigger
entryShift=200
landUnitInRadius=18,41,1,30,Axis
landUnitInRadius=39,45,1,30,Axis
landUnitInRadius=19,55,1,30,Axis
addReportTo=All
text=The Axis invasion of Canada is an immediate and direct threat to the security of the United States. Unanimously, both the US House and Senate have voted to declare WAR on the Axis powers.
$End

//USA gets supply depots when invading North Africa
$ModifyCountry
if_Date=6/1/1942
xyControl=135,20,Allies
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
supplyTruck=60
supplyOiler=10
$End

//Italy declares war if Germany takes Paris
$ChangeEntry
if_Date=9/1/1939
xyControl=140,51,Axis
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With the capture of Paris Italy enters the war on the Axis side convinced Germany will be victorious in Europe.
$End

//Germany and USSR split Poland
$Annex
if_Date=9/15/1939
actionCountry=42
targetCountry=4
lifespan=tillTrigger
changeBorders
xyArea=174,63
xyArea=174,64
xyArea=175,61
xyArea=175,62
xyArea=175,63
xyArea=175,64
xyArea=176,53
xyArea=176,55
xyArea=176,61
xyArea=176,62
xyArea=176,63
xyArea=176,64
xyArea=176,65
xyArea=177,51
xyArea=177,52
xyArea=177,53
xyArea=177,54
xyArea=177,55
xyArea=177,59
xyArea=177,60
xyArea=177,61
xyArea=177,62
xyArea=177,63
xyArea=177,64
xyArea=177,65
xyArea=178,51
xyArea=178,52
xyArea=178,53
xyArea=178,54
xyArea=178,55
xyArea=178,59
xyArea=178,60
xyArea=178,61
xyArea=178,62
xyArea=178,63
xyArea=178,64
xyArea=178,65
xyArea=178,66
xyArea=179,50
xyArea=179,51
xyArea=179,52
xyArea=179,53
xyArea=179,54
xyArea=179,55
xyArea=179,56
xyArea=179,57
xyArea=179,58
xyArea=179,59
xyArea=179,60
xyArea=179,61
xyArea=179,62
xyArea=179,63
xyArea=179,64
xyArea=179,65
xyArea=179,66
xyArea=180,49
xyArea=180,50
xyArea=180,51
xyArea=180,52
xyArea=180,53
xyArea=180,54
xyArea=180,55
xyArea=180,56
xyArea=180,57
xyArea=180,58
xyArea=180,59
xyArea=180,60
xyArea=180,61
xyArea=180,62
xyArea=180,63
xyArea=180,64
xyArea=180,65
xyArea=180,66
xyArea=180,67
xyArea=180,68
xyArea=180,69
xyArea=181,50
xyArea=181,51
xyArea=181,52
xyArea=181,53
xyArea=181,54
xyArea=181,55
xyArea=181,56
xyArea=181,57
xyArea=181,58
xyArea=181,59
xyArea=181,60
xyArea=181,61
xyArea=181,62
xyArea=181,63
xyArea=181,64
xyArea=181,65
xyArea=181,66
xyArea=181,67
xyArea=181,68
xyArea=181,69
xyArea=182,51
xyArea=182,52
xyArea=182,53
xyArea=182,54
xyArea=182,55
xyArea=182,56
xyArea=182,57
xyArea=182,58
xyArea=182,59
xyArea=182,60
xyArea=182,61
xyArea=182,64
xyArea=182,65
xyArea=182,66
xyArea=182,67
xyArea=182,68
xyArea=182,69
xyArea=183,55
xyArea=183,56
xyArea=183,57
xyArea=183,58
xyArea=183,59
xyArea=183,60
xyArea=183,65
xyArea=183,66
xyArea=183,67
xyArea=183,68
text=The USSR occupies the Eastern half of Poland as per the secret protocol of the Molotov Ribbentrop Pact.
addReportTo=All
$End

//Germany Annexes Poland
$ChangeTerritory
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=42
targetCountry=6
lifespan=tillTrigger
xyArea=allHexes
changeBorders
addReportTo=All
text=Germany annexes Western Poland into Greater Germany.
$End


//PAF goes to UK if Axis take too long to conquer Poland
$GiveUnit
if_Date=10/12/1939
if_Country=42
if_Surrender=false
actionCountry=1
lifespan=once
unitID=11
advancement=4
xyArea=133,63
name=Polish AF
text=Germany's slow progress in Poland allows Polish air crew and pilots to escape to the UK.
addReportTo=All
$End

//UK gets manpower from Poland's fall
$ModifyCountry
if_Date=9/15/1939
if_Country=42
if_Surrender=true
actionCountry=1
lifespan=tillTrigger
manpower=20
text=Polish prime minister and commander Wladyslaw Sikorski, evacuates Polish forces to Allied controlled territory as his country falls to the German invasion. England gains 20 manpower.
addReportTo=Allies
$End

//Remove Maginot Line
$GiveResource
if_Date=1/1/1939
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
//no resource
xyArea=146,53,0
xyArea=147,53,0
xyArea=148,53,0
xyArea=149,52,0
xyArea=150,49,0
xyArea=150,50,0
xyArea=150,51,0
xyArea=150,52,0
addReportTo=Axis
text=Germany dismantles the Maginot line for 50 production points
$End

//Germany gains 50PPs for Maginot
$ModifyCountry
if_Date=1/1/1939
if_Country=2
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
PP=50
OP=50
addReportTo=Axis
text=Germany captures 50 oil from France after their surrender
$End

//creation scripts are before the Vichy formation scripts so neutral units have a chance to escape
//Vichy unit Mainland Vichy
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=3
advancement=0
xyArea=143,46
$End

//Vichy fleet Mainland Marseille
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=17
advancement=12
xyArea=146,39
$End

//Vichy fleet Mainland Marseille
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=18
advancement=12
xyArea=146,39
$End

//Vichy fleet Mainland Marseille
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=17
advancement=12
xyArea=146,39
$End

//Vichy fleet Mainland Marseille
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=16
xyArea=146,39
$End

//Vichy fleet Mainland Marseille
$GiveUnit
if_Date=1/1/1939
xyControl=143,46,Neutral
actionCountry=54
lifespan=tillTrigger
unitID=16
advancement=12
xyArea=146,39
$End

//Vichy France Formed
$Annex
if_Date=9/1/1939
if_NegotiatedSurrender
if_Country=2
//France loses territory
actionCountry=2
targetCountry=54
lifespan=tillTrigger
changeBorders
addReportTo=All
xyArea=136,40
xyArea=136,41
xyArea=136,42
xyArea=137,39
xyArea=137,40
xyArea=137,41
xyArea=137,42
xyArea=137,43
xyArea=137,44
xyArea=138,39
xyArea=138,40
xyArea=138,41
xyArea=138,42
xyArea=138,43
xyArea=138,44
xyArea=138,45
xyArea=138,46
xyArea=138,47
xyArea=138,48
xyArea=139,39
xyArea=139,40
xyArea=139,41
xyArea=139,42
xyArea=139,43
xyArea=139,44
xyArea=139,45
xyArea=139,46
xyArea=139,47
xyArea=139,48
xyArea=140,39
xyArea=140,40
xyArea=140,41
xyArea=140,42
xyArea=140,43
xyArea=140,44
xyArea=140,45
xyArea=140,46
xyArea=140,47
xyArea=140,48
xyArea=141,38
xyArea=141,39
xyArea=141,40
xyArea=141,41
xyArea=141,42
xyArea=141,43
xyArea=141,44
xyArea=141,45
xyArea=141,46
xyArea=142,38
xyArea=142,39
xyArea=142,40
xyArea=142,41
xyArea=142,42
xyArea=142,43
xyArea=142,44
xyArea=142,45
xyArea=142,46
xyArea=142,47
xyArea=143,38
xyArea=143,39
xyArea=143,40
xyArea=143,41
xyArea=143,42
xyArea=143,43
xyArea=143,44
xyArea=143,45
xyArea=143,46
xyArea=144,39
xyArea=144,40
xyArea=144,41
xyArea=144,42
xyArea=144,43
xyArea=144,44
xyArea=144,45
xyArea=144,46
xyArea=144,47
xyArea=145,38
xyArea=145,39
xyArea=145,40
xyArea=145,41
xyArea=145,42
xyArea=145,43
xyArea=145,44
xyArea=145,45
xyArea=145,46
xyArea=145,47
xyArea=146,39
xyArea=146,40
xyArea=146,41
xyArea=146,42
xyArea=146,43
xyArea=146,44
xyArea=146,45
xyArea=146,46
xyArea=146,47
xyArea=146,48
xyArea=147,38
xyArea=147,39
xyArea=147,40
xyArea=147,43
xyArea=147,44
xyArea=148,39
xyArea=151,34
xyArea=151,35
xyArea=151,36
xyArea=151,37
xyArea=152,35
xyArea=152,36
xyArea=152,37
xyArea=152,38
xyArea=153,34
xyArea=153,35
xyArea=153,36
xyArea=147,45
xyArea=147,46
xyArea=143,47
xyArea=147,41
xyArea=147,42
xyArea=148,40
xyArea=148,41
xyArea=148,43
xyArea=148,44
xyArea=149,39
xyArea=151,34
xyArea=153,34
text=Marshal Philippe Petain negotiates a peace with Germany forming Vichy France. As part of the peace a majority of the French fleet stays neutral in the European conflict.
$End

//Change Vichy France morale hexes so capitals can exist
$GiveResource
if_Date=1/1/1939
if_NegotiatedSurrender
if_Country=2
lifespan=tillTrigger
xyArea=142,23,45
xyArea=200,17,93
$End

//Vichy unit Syria
$GiveUnit
if_Date=1/1/1939
xyControl=200,17,Neutral
actionCountry=56
lifespan=tillTrigger
name=GFML (Syr)
unitID=1
advancement=0
xyArea=200,17
$End

//Vichy Syria Formed
$Annex
if_Date=9/1/1939
if_NegotiatedSurrender
if_Country=2
actionCountry=2
targetCountry=56
lifespan=tillTrigger
addReportTo=All
xyArea=197,15
xyArea=197,16
xyArea=198,16
xyArea=198,17
xyArea=198,18
xyArea=198,19
xyArea=198,20
xyArea=198,21
xyArea=199,15
xyArea=199,16
xyArea=199,17
xyArea=199,18
xyArea=199,19
xyArea=199,20
xyArea=200,16
xyArea=200,17
xyArea=200,18
xyArea=200,19
xyArea=200,20
xyArea=200,21
xyArea=201,15
xyArea=201,16
xyArea=201,17
xyArea=201,18
xyArea=201,19
xyArea=201,20
xyArea=201,21
xyArea=202,16
xyArea=202,17
xyArea=202,18
xyArea=202,19
xyArea=202,20
xyArea=202,21
xyArea=202,22
xyArea=203,16
xyArea=203,17
xyArea=203,18
xyArea=203,19
xyArea=203,20
xyArea=203,21
xyArea=204,17
xyArea=204,18
xyArea=204,19
xyArea=204,20
xyArea=204,21
xyArea=204,22
xyArea=205,17
xyArea=205,18
xyArea=205,19
xyArea=205,20
xyArea=205,21
xyArea=205,22
xyArea=206,18
xyArea=206,19
xyArea=206,20
xyArea=206,21
xyArea=206,22
xyArea=207,18
xyArea=207,19
xyArea=207,20
xyArea=207,21
xyArea=207,22
xyArea=208,20
xyArea=208,21
xyArea=208,22
xyArea=208,23
xyArea=209,22
xyArea=210,23
text=Syria recognizes Vichy France and joins Vichy.
$End

//Vichy unit Morocco
$GiveUnit
if_Date=1/1/1939
xyControl=124,16,Neutral
actionCountry=55
lifespan=tillTrigger
name=Morocco Corps (Mor)
unitID=2
advancement=0
xyArea=124,16
$End

//Vichy unit Algeria
$GiveUnit
if_Date=1/1/1939
xyControl=142,23,Neutral
actionCountry=55
lifespan=tillTrigger
xyArea=142,23
name=XIXe RM (Alg)
unitID=2
advancement=0
$End

//Vichy unit Tunisia
$GiveUnit
if_Date=1/1/1939
xyControl=154,23,Neutral
actionCountry=55
lifespan=tillTrigger
xyArea=154,23
name=CSTT Corps (Tun)
unitID=2
advancement=0
$End

//Vichy North Africa Formed
$Annex
if_Date=9/1/1939
if_NegotiatedSurrender
if_Country=2
actionCountry=2
targetCountry=55
//if Axis control Algiers which means the surrender has taken place and the UK has not occupied it
xyControl=142,23,Axis
lifespan=tillTrigger
addReportTo=All
xyArea=119,7
xyArea=119,8
xyArea=119,9
xyArea=119,10
xyArea=120,8
xyArea=120,9
xyArea=120,10
xyArea=120,11
xyArea=120,12
xyArea=120,13
xyArea=120,14
xyArea=121,7
xyArea=121,8
xyArea=121,9
xyArea=121,10
xyArea=121,11
xyArea=121,12
xyArea=121,13
xyArea=121,14
xyArea=121,15
xyArea=122,8
xyArea=122,9
xyArea=122,10
xyArea=122,11
xyArea=122,12
xyArea=122,13
xyArea=122,14
xyArea=122,15
xyArea=122,16
xyArea=123,7
xyArea=123,8
xyArea=123,9
xyArea=123,10
xyArea=123,11
xyArea=123,12
xyArea=123,13
xyArea=123,14
xyArea=123,15
xyArea=123,16
xyArea=124,4
xyArea=124,5
xyArea=124,6
xyArea=124,7
xyArea=124,8
xyArea=124,9
xyArea=124,10
xyArea=124,11
xyArea=124,12
xyArea=124,13
xyArea=124,14
xyArea=124,15
xyArea=124,16
xyArea=124,17
xyArea=125,4
xyArea=125,5
xyArea=125,6
xyArea=125,7
xyArea=125,8
xyArea=125,9
xyArea=125,10
xyArea=125,11
xyArea=125,12
xyArea=125,13
xyArea=125,14
xyArea=125,15
xyArea=125,16
xyArea=125,17
xyArea=126,4
xyArea=126,5
xyArea=126,6
xyArea=126,7
xyArea=126,8
xyArea=126,9
xyArea=126,10
xyArea=126,11
xyArea=126,12
xyArea=126,13
xyArea=126,14
xyArea=126,15
xyArea=126,16
xyArea=126,17
xyArea=126,18
xyArea=126,19
xyArea=127,4
xyArea=127,5
xyArea=127,6
xyArea=127,7
xyArea=127,8
xyArea=127,9
xyArea=127,10
xyArea=127,11
xyArea=127,12
xyArea=127,13
xyArea=127,14
xyArea=127,15
xyArea=127,16
xyArea=127,17
xyArea=127,18
xyArea=128,4
xyArea=128,5
xyArea=128,6
xyArea=128,7
xyArea=128,8
xyArea=128,9
xyArea=128,10
xyArea=128,11
xyArea=128,12
xyArea=128,13
xyArea=128,14
xyArea=128,15
xyArea=128,16
xyArea=128,17
xyArea=128,18
xyArea=129,4
xyArea=129,5
xyArea=129,6
xyArea=129,7
xyArea=129,8
xyArea=129,9
xyArea=129,10
xyArea=129,11
xyArea=129,12
xyArea=129,13
xyArea=129,14
xyArea=129,15
xyArea=129,16
xyArea=129,17
xyArea=129,18
xyArea=130,4
xyArea=130,5
xyArea=130,6
xyArea=130,7
xyArea=130,8
xyArea=130,9
xyArea=130,10
xyArea=130,11
xyArea=130,12
xyArea=130,13
xyArea=130,14
xyArea=130,15
xyArea=130,16
xyArea=130,17
xyArea=130,18
xyArea=131,4
xyArea=131,5
xyArea=131,6
xyArea=131,7
xyArea=131,8
xyArea=131,9
xyArea=131,10
xyArea=131,11
xyArea=131,12
xyArea=131,13
xyArea=131,14
xyArea=131,15
xyArea=131,16
xyArea=131,17
xyArea=131,18
xyArea=132,4
xyArea=132,5
xyArea=132,6
xyArea=132,7
xyArea=132,8
xyArea=132,9
xyArea=132,10
xyArea=132,11
xyArea=132,12
xyArea=132,13
xyArea=132,14
xyArea=132,15
xyArea=132,16
xyArea=132,17
xyArea=132,18
xyArea=132,19
xyArea=133,4
xyArea=133,5
xyArea=133,6
xyArea=133,7
xyArea=133,8
xyArea=133,9
xyArea=133,10
xyArea=133,11
xyArea=133,12
xyArea=133,13
xyArea=133,14
xyArea=133,15
xyArea=133,16
xyArea=133,17
xyArea=133,18
xyArea=133,19
xyArea=134,4
xyArea=134,5
xyArea=134,6
xyArea=134,7
xyArea=134,8
xyArea=134,9
xyArea=134,10
xyArea=134,11
xyArea=134,12
xyArea=134,13
xyArea=134,14
xyArea=134,15
xyArea=134,16
xyArea=134,17
xyArea=134,18
xyArea=134,19
xyArea=134,20
xyArea=135,4
xyArea=135,5
xyArea=135,6
xyArea=135,7
xyArea=135,8
xyArea=135,9
xyArea=135,10
xyArea=135,11
xyArea=135,12
xyArea=135,13
xyArea=135,14
xyArea=135,15
xyArea=135,16
xyArea=135,17
xyArea=135,18
xyArea=135,19
xyArea=135,20
xyArea=135,21
xyArea=136,4
xyArea=136,5
xyArea=136,6
xyArea=136,7
xyArea=136,8
xyArea=136,9
xyArea=136,10
xyArea=136,11
xyArea=136,12
xyArea=136,13
xyArea=136,14
xyArea=136,15
xyArea=136,16
xyArea=136,17
xyArea=136,18
xyArea=136,19
xyArea=136,20
xyArea=136,21
xyArea=137,4
xyArea=137,5
xyArea=137,6
xyArea=137,7
xyArea=137,8
xyArea=137,9
xyArea=137,10
xyArea=137,11
xyArea=137,12
xyArea=137,13
xyArea=137,14
xyArea=137,15
xyArea=137,16
xyArea=137,17
xyArea=137,18
xyArea=137,19
xyArea=137,20
xyArea=137,21
xyArea=137,22
xyArea=138,4
xyArea=138,5
xyArea=138,6
xyArea=138,7
xyArea=138,8
xyArea=138,9
xyArea=138,10
xyArea=138,11
xyArea=138,12
xyArea=138,13
xyArea=138,14
xyArea=138,15
xyArea=138,16
xyArea=138,17
xyArea=138,18
xyArea=138,19
xyArea=138,20
xyArea=138,21
xyArea=138,22
xyArea=138,23
xyArea=139,4
xyArea=139,5
xyArea=139,6
xyArea=139,7
xyArea=139,8
xyArea=139,9
xyArea=139,10
xyArea=139,11
xyArea=139,12
xyArea=139,13
xyArea=139,14
xyArea=139,15
xyArea=139,16
xyArea=139,17
xyArea=139,18
xyArea=139,19
xyArea=139,20
xyArea=139,21
xyArea=139,22
xyArea=139,23
xyArea=140,4
xyArea=140,5
xyArea=140,6
xyArea=140,7
xyArea=140,8
xyArea=140,9
xyArea=140,10
xyArea=140,11
xyArea=140,12
xyArea=140,13
xyArea=140,14
xyArea=140,15
xyArea=140,16
xyArea=140,17
xyArea=140,18
xyArea=140,19
xyArea=140,20
xyArea=140,21
xyArea=140,22
xyArea=140,23
xyArea=141,4
xyArea=141,5
xyArea=141,6
xyArea=141,7
xyArea=141,8
xyArea=141,9
xyArea=141,10
xyArea=141,11
xyArea=141,12
xyArea=141,13
xyArea=141,14
xyArea=141,15
xyArea=141,16
xyArea=141,17
xyArea=141,18
xyArea=141,19
xyArea=141,20
xyArea=141,21
xyArea=141,22
xyArea=141,23
xyArea=142,4
xyArea=142,5
xyArea=142,6
xyArea=142,7
xyArea=142,8
xyArea=142,9
xyArea=142,10
xyArea=142,11
xyArea=142,12
xyArea=142,13
xyArea=142,14
xyArea=142,15
xyArea=142,16
xyArea=142,17
xyArea=142,18
xyArea=142,19
xyArea=142,20
xyArea=142,21
xyArea=142,22
xyArea=142,23
xyArea=143,4
xyArea=143,5
xyArea=143,6
xyArea=143,7
xyArea=143,8
xyArea=143,9
xyArea=143,10
xyArea=143,11
xyArea=143,12
xyArea=143,13
xyArea=143,14
xyArea=143,15
xyArea=143,16
xyArea=143,17
xyArea=143,18
xyArea=143,19
xyArea=143,20
xyArea=143,21
xyArea=143,22
xyArea=143,23
xyArea=144,4
xyArea=144,5
xyArea=144,6
xyArea=144,7
xyArea=144,8
xyArea=144,9
xyArea=144,10
xyArea=144,11
xyArea=144,12
xyArea=144,13
xyArea=144,14
xyArea=144,15
xyArea=144,16
xyArea=144,17
xyArea=144,18
xyArea=144,19
xyArea=144,20
xyArea=144,21
xyArea=144,22
xyArea=144,23
xyArea=144,24
xyArea=145,4
xyArea=145,5
xyArea=145,6
xyArea=145,7
xyArea=145,8
xyArea=145,9
xyArea=145,10
xyArea=145,11
xyArea=145,12
xyArea=145,13
xyArea=145,14
xyArea=145,15
xyArea=145,16
xyArea=145,17
xyArea=145,18
xyArea=145,19
xyArea=145,20
xyArea=145,21
xyArea=145,22
xyArea=145,23
xyArea=146,4
xyArea=146,5
xyArea=146,6
xyArea=146,7
xyArea=146,8
xyArea=146,9
xyArea=146,10
xyArea=146,11
xyArea=146,12
xyArea=146,13
xyArea=146,14
xyArea=146,15
xyArea=146,16
xyArea=146,17
xyArea=146,18
xyArea=146,19
xyArea=146,20
xyArea=146,21
xyArea=146,22
xyArea=146,23
xyArea=147,4
xyArea=147,5
xyArea=147,6
xyArea=147,7
xyArea=147,8
xyArea=147,9
xyArea=147,10
xyArea=147,11
xyArea=147,12
xyArea=147,13
xyArea=147,14
xyArea=147,15
xyArea=147,16
xyArea=147,17
xyArea=147,18
xyArea=147,19
xyArea=147,20
xyArea=147,21
xyArea=147,22
xyArea=147,23
xyArea=148,4
xyArea=148,5
xyArea=148,6
xyArea=148,7
xyArea=148,8
xyArea=148,9
xyArea=148,10
xyArea=148,11
xyArea=148,12
xyArea=148,13
xyArea=148,14
xyArea=148,15
xyArea=148,16
xyArea=148,17
xyArea=148,18
xyArea=148,19
xyArea=148,20
xyArea=148,21
xyArea=148,22
xyArea=148,23
xyArea=148,24
xyArea=149,4
xyArea=149,5
xyArea=149,6
xyArea=149,7
xyArea=149,8
xyArea=149,9
xyArea=149,10
xyArea=149,11
xyArea=149,12
xyArea=149,13
xyArea=149,14
xyArea=149,15
xyArea=149,16
xyArea=149,17
xyArea=149,18
xyArea=149,19
xyArea=149,20
xyArea=149,21
xyArea=149,22
xyArea=149,23
xyArea=149,24
xyArea=150,4
xyArea=150,5
xyArea=150,6
xyArea=150,7
xyArea=150,8
xyArea=150,9
xyArea=150,10
xyArea=150,11
xyArea=150,12
xyArea=150,13
xyArea=150,14
xyArea=150,15
xyArea=150,16
xyArea=150,17
xyArea=150,18
xyArea=150,19
xyArea=150,20
xyArea=150,21
xyArea=150,22
xyArea=150,23
xyArea=150,24
xyArea=151,4
xyArea=151,5
xyArea=151,6
xyArea=151,7
xyArea=151,8
xyArea=151,9
xyArea=151,10
xyArea=151,11
xyArea=151,12
xyArea=151,13
xyArea=151,14
xyArea=151,15
xyArea=151,16
xyArea=151,17
xyArea=151,18
xyArea=151,19
xyArea=151,20
xyArea=151,21
xyArea=151,22
xyArea=151,23
xyArea=151,24
xyArea=152,4
xyArea=152,5
xyArea=152,6
xyArea=152,7
xyArea=152,8
xyArea=152,9
xyArea=152,10
xyArea=152,11
xyArea=152,12
xyArea=152,13
xyArea=152,14
xyArea=152,15
xyArea=152,16
xyArea=152,17
xyArea=152,18
xyArea=152,19
xyArea=152,20
xyArea=152,21
xyArea=152,22
xyArea=152,23
xyArea=152,24
xyArea=153,4
xyArea=153,5
xyArea=153,6
xyArea=153,7
xyArea=153,8
xyArea=153,9
xyArea=153,10
xyArea=153,11
xyArea=153,12
xyArea=153,13
xyArea=153,14
xyArea=153,15
xyArea=153,16
xyArea=153,17
xyArea=153,18
xyArea=153,19
xyArea=153,20
xyArea=153,21
xyArea=153,22
xyArea=153,23
xyArea=153,24
xyArea=154,10
xyArea=154,11
xyArea=154,12
xyArea=154,14
xyArea=154,15
xyArea=154,16
xyArea=154,17
xyArea=154,18
xyArea=154,19
xyArea=154,20
xyArea=154,21
xyArea=154,22
xyArea=154,23
xyArea=154,24
xyArea=154,25
xyArea=155,14
xyArea=155,15
xyArea=155,16
xyArea=155,18
xyArea=155,19
xyArea=155,20
xyArea=155,21
xyArea=155,22
xyArea=155,23
xyArea=155,24
xyArea=156,16
xyArea=156,19
xyArea=156,20
xyArea=156,23
xyArea=124,1
xyArea=124,2
xyArea=124,3
xyArea=125,1
xyArea=125,2
xyArea=125,3
xyArea=126,1
xyArea=126,2
xyArea=126,3
xyArea=127,1
xyArea=127,2
xyArea=127,3
xyArea=128,1
xyArea=128,2
xyArea=128,3
xyArea=129,1
xyArea=129,2
xyArea=129,3
xyArea=130,1
xyArea=130,2
xyArea=130,3
xyArea=131,1
xyArea=131,2
xyArea=131,3
xyArea=132,1
xyArea=132,2
xyArea=132,3
xyArea=133,1
xyArea=133,2
xyArea=133,3
xyArea=134,1
xyArea=134,2
xyArea=134,3
xyArea=135,1
xyArea=135,2
xyArea=135,3
xyArea=136,1
xyArea=136,2
xyArea=136,3
xyArea=137,1
xyArea=137,2
xyArea=137,3
xyArea=138,1
xyArea=138,2
xyArea=138,3
xyArea=139,1
xyArea=139,2
xyArea=139,3
xyArea=140,1
xyArea=140,2
xyArea=140,3
xyArea=141,1
xyArea=141,2
xyArea=141,3
xyArea=142,1
xyArea=142,2
xyArea=142,3
xyArea=143,1
xyArea=143,2
xyArea=143,3
xyArea=144,1
xyArea=144,2
xyArea=144,3
xyArea=145,1
xyArea=145,2
xyArea=145,3
xyArea=146,1
xyArea=146,2
xyArea=146,3
xyArea=147,1
xyArea=147,2
xyArea=147,3
xyArea=148,1
xyArea=148,2
xyArea=148,3
xyArea=149,1
xyArea=149,2
xyArea=149,3
xyArea=150,1
xyArea=150,2
xyArea=150,3
xyArea=151,1
xyArea=151,2
xyArea=151,3
xyArea=152,1
xyArea=152,2
xyArea=152,3
xyArea=153,1
xyArea=153,2
xyArea=153,3
xyArea=124,0
xyArea=125,0
xyArea=126,0
xyArea=127,0
xyArea=128,0
xyArea=129,0
xyArea=130,0
xyArea=131,0
xyArea=132,0
xyArea=133,0
xyArea=134,0
xyArea=135,0
xyArea=136,0
xyArea=137,0
xyArea=138,0
xyArea=139,0
xyArea=140,0
xyArea=141,0
xyArea=142,0
xyArea=143,0
xyArea=144,0
xyArea=145,0
xyArea=146,0
xyArea=147,0
xyArea=148,0
xyArea=149,0
xyArea=150,0
xyArea=151,0
xyArea=152,0
xyArea=153,0
text=Morocco, Tunisia, and Algeria stay loyal to Vichy France.
$End

//Vichy North Africa - add 2 morale locations to map for Vichy North Africa to ensure all of North Africa is taken before it surrenders
$GiveResource
if_Date=1/1/1939
if_NegotiatedSurrender
if_Country=2
lifespan=tillTrigger
//Casablanca and Tunis
xyArea=124,16,69
xyArea=154,23,69
$End

//Vichy North Africa Colonies become Allied if Vichy France DOWed on.
$ChangeEntry
if_Date=1/1/1939
if_Country=54
if_Alliance=Allies
//Vichy N.A. still neutral
xyControl=142,23,Neutral
actionCountry=1
targetCountry=55
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=Vichy North Africa joins the Allies after Germany occupies mainland Vichy France.
$End

//AI Only
//Vichy Syria Colonies go free if Vichy France DOWed on.
$ChangeEntry
if_Date=1/1/1939
if_Country=54
if_Alliance=Allies
//Vichy Syria still neutral
xyControl=200,17,Neutral
actionCountry=1
targetCountry=56
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=The Vichy Syria join the Allies after Germany occupies mainland Vichy France.
$End

//Free France Forces
$GiveUnit
if_Date=9/1/1939
if_Country=2
if_Surrender=true
xyControl=137,58,Allies
actionCountry=1
lifespan=tillTrigger
xyArea=132,63
addReportTo=Allies
text=1st Free French Corps is formed in England from the remnants of the French army.
unitID=3
advancement=0
name=I Corps (FFL)
$End

//Spain sends resources to Germany
$TradeAgreement
if_Date=1/1/1939
if_Country=2
if_Surrender=true
actionCountry=45
targetCountry=6
lifespan=tillTrigger
PP=5
text=With the fall of France a trade agreement with Spain sends 5 production points to Germany to pay off Spanish debt.
addReportTo=Axis
$End

//*******************************************************************************************
//Indian reinforcements in Iraq if Iraq joins the Axis or revolts 
//10th Indian Division consisting or 2 brigade groups were the real force
$GiveUnit
if_Date=4/18/1941
xyControl=219,6,Allies
xyControl=186,10,Axis
if_Country=27
if_Alliance=Neutral
actionCountry=1
lifespan=tillTrigger
xyArea=219,6
addReportTo=Allies
name=Iraqforce Corps
text=Iraqforce arrives in Kuwait
unitID=3
$End

//ANZAC
$GiveUnit
if_Date=3/1/1941
xyControl=194,11,Allies
actionCountry=1
lifespan=tillTrigger
xyArea=194,11
addReportTo=Allies
text=ANZAC reinforcements arrive in Cairo to reinforce Egypt.
name=ANZAC Corps
unitID=3
$End

//ANZAC #2
$GiveUnit
if_Date=6/1/1941
xyControl=198,13,Allies
actionCountry=1
lifespan=tillTrigger
xyArea=198,13
addReportTo=Allies
text=ANZAC reinforcements are trained in Palestine to reinforce Egypt.
name=Aus/NZ Corps
unitID=3
$End

//Germany extra supply depots for AI
$ModifyCountry
if_Date=5/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
AIOnlyEvent=Axis
supplyTruck=120
$End

//Blue Division arrives in Bavaria
$GiveUnit
if_Date=8/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=6
lifespan=tillTrigger
unitID=1
name=Blue Div
xyArea=168,51
text=Blue Division arrives from Spain and ready for action on the Eastern Front at 168, 51.
addReportTo=Axis
$End

//USSR extra supply depots for Winter offensive
$ModifyCountry
if_Date=11/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=4
lifespan=tillTrigger
AIOnlyEvent=Allies
supplyTruck=150
$End

//Add Hungarian oil
$GiveResource
if_Date=3/1/1942
xyControl=167,46,Axis
actionCountry=23
lifespan=once
xyArea=167,46,55
addReportTo=Axis
text=Hungarian oil fields start producing in sufficient capacities to supply Axis units at 167, 46.
$End

//once USA enters the war Italy's morale break drops to 56 if Tripoli is Allied
$ModifyCountry
if_Date=1/1/1941
if_Country=3
if_Alliance=Allies
//Tripoli
xyControl=160,14,Allies
lifespan=tillTrigger
actionCountry=7
moraleBreak=56
addReportTo=All
text=With the USA declaration of war on the Axis, and the capture of Tripoli, Italy's government is concerned about their chances of a military victory. Italy's new morale break is 56.
$End

//Vichy Mainland becomes part of France once Paris is liberated
$ChangeEntry
if_Date=1/1/1943
if_Country=54
if_Alliance=Neutral
xyControl=143,46,Neutral
xyControl=140,51,Allies
//5 allied land units within 3 hexes of Paris
landUnitInRadius=140,51,5,3,Allies
actionCountry=3
targetCountry=54
lifespan=tillTrigger
entryShift=200
addReportTo=All
text=With the Allies recapturing Paris Vichy France joins the Allies
$End

//Germany collapses Vichy France when allies take Algiers and the USA is in the war
$ChangeTerritory
if_Date=1/1/1942
if_Country=3
if_Alliance=Allies
if_Plan=1
xyControl=142,23,Allies
xyControl=143,46,Neutral
lifespan=tillTrigger
actionCountry=54
targetCountry=6
AIOnlyEvent=Axis
surrender_FleetJoin=100
xyArea=allHexes
changeBorders
addReportTo=All
text=Germany occupies mainland Vichy France in response to the Allies occupying North Africa.
$End

//USA entry increases 10 when Egypt is taken
$ChangeEntry
if_Date=1/1/1941
xyControl=191,10,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=10
text=The USA gears toward war as Axis forces occupy Egypt threatening Middle East oil fields.
addReportTo=All
$End

//USA entry increases 15 when Gibraltar is taken
$ChangeEntry
if_Date=1/1/1941
xyControl=127,21,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=15
text=The USA gears toward war as Axis forces occupy Gibraltar threatening Atlantic trade.
addReportTo=All
$End

//USA entry increases if Ireland is invaded
$ChangeEntry
if_Date=1/1/1939
landUnitInRadius=121,63,1,6,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=25
text=The USA gears toward war as Axis forces occupy Ireland.
addReportTo=All
$End

//USA entry increases 25 when London is taken
$ChangeEntry
if_Date=1/1/1939
if_Country=3
if_Alliance=Neutral
xyControl=137,58,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=25
text=The US congress has concerns about Germany's success in England. Military rearmament increase in the USA.
addReportTo=All
$End

//USA entry increases 25 when West of South Hampton is taken
$ChangeEntry
if_Date=1/1/1939
if_Country=3
if_Alliance=Neutral
xyControl=134,57,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=25
text=The English government asks for US intervention in their crisis. Sympathy grows for England and their struggle vs Germany.
addReportTo=All
$End

//USA entry increases 25 when Liverpool is taken
$ChangeEntry
if_Date=1/1/1939
if_Country=3
if_Alliance=Neutral
xyControl=132,63,Axis
targetCountry=3
lifespan=tillTrigger
entryShift=25
text=The English government asks for US intervention in their crisis. Sympathy grows for England and their struggle vs Germany. The US government prepares measures for war.
addReportTo=All
$End

//Germany takes Baltic States USSR + 35
$ChangeEntry
if_Date=1/1/1939
if_Country=11
if_Alliance=Allies
targetCountry=4
lifespan=tillTrigger
entryShift=35
addReportTo=All
text=Germany enters Baltic States. The German-Soviet non-aggression pact is broken. The USSR accelerates military production in anticipation of war gaining 35 entry toward the Allied alliance.
$End

//USSR Annexes Baltic States
$Annex
if_Date=5/15/1940
if_Country=11
if_Alliance=Neutral
actionCountry=11
targetCountry=4
lifespan=tillTrigger
xyArea=allHexes
addReportTo=All
text=The USSR concludes a mutual assistance pact with the Baltic States to allow Soviet bases within their country.
$End

////WINTER WAR
//USSR Fights Winter War
$Information
if_Date=11/29/1939
xyControl=179,78,Neutral
targetCountry=4
lifespan=tillTrigger
addReportTo=All
text=Finland refuses Stalin's border demands. The USSR declares war on Finland invading with overwhelming forces.
$End

//USSR concludes Winter War
$ChangeTerritory
if_Date=3/13/1940
actionCountry=20
targetCountry=4
lifespan=tillTrigger
xyArea=189,87
xyArea=189,88
xyArea=190,82
xyArea=190,81
xyArea=189,81
xyArea=189,80
xyArea=188,81
xyArea=188,80
xyArea=187,80
xyArea=187,79
xyArea=186,80
xyArea=186,79
xyArea=185,79
xyArea=185,78
xyArea=186,78
xyArea=185,77
xyArea=184,79
xyArea=184,78
xyArea=184,77
xyArea=189,82
text=Finland concedes its border territory to the USSR. Finland will join the March 13th, 1941. 
addReportTo=All
$End

//USSR concludes Winter War
$Information
if_Date=3/13/1940
text=USSR Winter War Losses: 50 PP, 50 OP, 50 manpower. USSR Gains: buffer territory on Leningrad.
addReportTo=All
$End

//USSR Pays and gains for Winter War
$ModifyCountry
if_Date=3/13/1940
actionCountry=4
lifespan=tillTrigger
PP=-50
OP=-50
manpower=-50
$End

//Finland Joins Axis 
$ChangeEntry
if_Date=3/13/1941
if_Country=2
if_Surrender=true
entryShift=-100
actionCountry=6
targetCountry=20
lifespan=tillTrigger
text=Finland joins the Axis.
addReportTo=All
$End

////AXIS MINOR POWERS
//Hungary Joins Axis
$ChangeEntry
if_Date=11/5/1940
if_Country=2
if_Surrender=true
entryShift=-100
actionCountry=6
targetCountry=23
lifespan=tillTrigger
text=Hungary signs the Tripartite Pact.
addReportTo=All
$End

//Romania Joins Axis 11/23/1940 historical
$ChangeEntry
if_Date=11/1/1940
if_Country=2
if_Surrender=true
entryShift=-100
actionCountry=6
targetCountry=44
lifespan=tillTrigger
text=Romania signs the Tripartite Pact.
addReportTo=All
$End

//Bulgaria Joins Axis if Greece is attacked
$ChangeEntry
if_Date=9/1/1939
if_Country=22
if_Alliance=Allies
entryShift=-200
actionCountry=6
targetCountry=13
lifespan=tillTrigger
text=Bulgaria signs the Tripartite Pact in exchange for territory from conquered lands.
addReportTo=All
$End

//Yugoslavia Joins Axis if Greece Taken 3/1/1941
//$ChangeEntry
//if_Date=9/1/1939
//if_Country=57
//if_Alliance=Neutral
//if_Loyalty=Axis
//xyControl=177,26,Axis
//entryShift=-40
//actionCountry=6
//targetCountry=57
//lifespan=tillTrigger
//addReportTo=All
//text=With Greece under Axis control Prince Paul of Yugoslavia sign the Tripartite Pact.
//$End

//Yugoslavia has coup
$ChangeEntry
actionCountry=1
if_Date=3/27/1941
if_Country=57
if_Alliance=Neutral
entryShift=120
actionCountry=1
targetCountry=57
lifespan=tillTrigger
addReportTo=All
text=General Dusan Simovic lead a coup d'etat overthrowing Prince Paul. Yugoslavia becomes more resistant to Germany's pressuring. King Peter II Karadordevic is declared king with Simovic as prime minister. The new government reconsiders entering the Tripartite Pact.
$End

//Soviet Siberian Transfer
$Information
if_Date=12/1/1941
targetCountry=4
lifespan=tillTrigger
text=Intelligence verifies Japan has no interest in attacking Russia in Siberia. Russian reinforcements arrive from their Eastern territories.
addReportTo=Allies
$End

//USA Lend lease via Vladivostok
$ModifyCountry
if_Date=10/1/1941
if_Country=4
if_Alliance=Allies
if_Surrender=false
actionCountry=4
lifespan=continuous
text=U.S. Lend-Lease arrives via the Pacific Route to the U.S.S.R. +30 production
addReportTo=All
PP=30
$End

//Allies Send Lend lease via Persia
$ModifyCountry
if_Date=8/1/1941
if_Country=4
if_Alliance=Allies
xyControl=216,29,Allies
xyControl=216,30,Allies
xyControl=217,28,Allies
xyControl=217,29,Allies
xyControl=218,25,Allies
xyControl=218,26,Allies
xyControl=218,27,Allies
xyControl=218,28,Allies
xyControl=218,30,Allies
xyControl=219,24,Allies
xyControl=219,30,Allies
xyControl=220,24,Allies
xyControl=220,31,Allies
xyControl=221,23,Allies
xyControl=221,30,Allies
xyControl=222,23,Allies
xyControl=222,31,Allies
xyControl=223,8,Allies
xyControl=223,9,Allies
xyControl=223,10,Allies
xyControl=223,11,Allies
xyControl=223,12,Allies
xyControl=223,22,Allies
xyControl=223,31,Allies
xyControl=224,13,Allies
xyControl=224,14,Allies
xyControl=224,15,Allies
xyControl=224,16,Allies
xyControl=224,19,Allies
xyControl=224,20,Allies
xyControl=224,22,Allies
xyControl=225,16,Allies
xyControl=225,17,Allies
xyControl=225,18,Allies
xyControl=225,20,Allies
xyControl=225,21,Allies
xyControl=226,21,Allies
actionCountry=4
lifespan=continuous
text=Allied Lend-Lease arrives via the Persia Route to the U.S.S.R. +5 production
addReportTo=All
PP=5
$End

//SPAIN
//Spain joins axis when they take 3 southern cities in England
$ChangeEntry
if_Date=9/1/1939
if_Country=3
if_Alliance=Neutral
//city
xyControl=130,56,Axis
lifespan=tillTrigger
addReportTo=Axis
entryShift=-30
actionCountry=6
targetCountry=45
text=Spain leans more toward the Axis as Germany advances in England.
$End

//Germany takes English cities
$ChangeEntry
if_Date=9/1/1939
if_Country=3
if_Alliance=Neutral
//city
xyControl=134,57,Axis
lifespan=tillTrigger
addReportTo=Axis
entryShift=-30
actionCountry=6
targetCountry=45
text=Spain's leader Franco is impressed with German gains vs England. He leans more on joining the Axis.
$End

$ChangeEntry
if_Date=9/1/1939
if_Country=3
if_Alliance=Neutral
//city
xyControl=137,58,Axis
lifespan=tillTrigger
addReportTo=Axis
entryShift=-30
actionCountry=6
targetCountry=45
text=As Germany advances into England Spain considers joining the Axis.
$End

////TURKEY
//Turkey Joins Axis when Baku is taken
$ChangeEntry
if_Date=9/1/1939
if_Country=3
if_Alliance=Neutral
xyControl=223,31,Axis
actionCountry=6
targetCountry=53
lifespan=tillTrigger
addReportTo=All
entryShift=-200
text=With the Axis advance into Baku Turkey joins the Axis powers under politcal pressure.
$End

////TERRITORY GAINS
//USSR takes Bessarabia from Romania
$Annex
if_Date=6/28/1940
if_Country=4
if_Alliance=Neutral
actionCountry=44
targetCountry=4
lifespan=tillTrigger
xyArea=189,45
xyArea=188,46
xyArea=188,45
xyArea=188,44
xyArea=187,47
xyArea=187,46
xyArea=187,45
xyArea=187,44
xyArea=186,49
xyArea=186,48
xyArea=186,47
xyArea=186,46
xyArea=186,45
xyArea=185,49
xyArea=185,48
xyArea=185,47
xyArea=185,46
xyArea=185,45
xyArea=184,50
xyArea=184,49
xyArea=184,48
xyArea=183,50
xyArea=182,50
changeBorders
text=Romania yields Bessarabia to the USSR under political pressure.
addReportTo=All
$End

//Bulgaria takes Southern Dobruja From Romania
$Annex
if_Date=8/30/1940
if_Country=13
if_Surrender=false
actionCountry=44
targetCountry=13
lifespan=tillTrigger
xyArea=183,38
xyArea=184,39
xyArea=185,38
changeBorders
text=Romania yields Southern Dobruja to the Bulgaria as part of Bulgaria's deal to join the Axis.
addReportTo=All
$End

//Hungary takes Transylvania From Romania
$Annex
if_Date=8/30/1940
if_Country=23
if_Surrender=false
actionCountry=44
targetCountry=23
lifespan=tillTrigger
xyArea=180,48
xyArea=180,47
xyArea=180,46
xyArea=179,48
xyArea=179,47
xyArea=179,46
xyArea=178,49
xyArea=178,48
xyArea=177,49
xyArea=177,48
xyArea=177,47
xyArea=176,49
xyArea=176,48
xyArea=176,47
xyArea=175,47
xyArea=174,47
changeBorders
text=Romania yields Transylvania to the Hungary.
addReportTo=All
$End

//Persian rail added at Tabriz
//this is done to neutral Persian Allied oil ships south
$ChangeLogistics
if_Date=5/1/1941
if_Country=40
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=40
//change road to rail
xyArea=216,29,31
xyArea=217,28,32
addReportTo=All
text=Allies open the Persian Corridor for lend lease. Road converted to rail at Tabriz

$End

//Persian rail added at Tabriz
//this is done to neutral Persian Allied oil ships south
$ChangeLogistics
if_Date=5/1/1941
if_Country=40
if_Alliance=Axis
lifespan=tillTrigger
actionCountry=40
//change road to rail
xyArea=216,29,31
xyArea=217,28,32
addReportTo=All
text=Allies extends rail line in Persia from Tabriz to Yerevan
$End

//Persia joins axis when Axis control Baghdad and the Middle East
$ChangeEntry
if_Date=9/1/1939
if_Country=40
if_Alliance=Neutral
//Alexandria, Cairo, Jerusalem, Damascus, Baghdad
xyControl=191,10,Axis
xyControl=193,8,Axis
xyControl=198,13,Axis
xyControl=214,14,Axis
xyControl=200,17,Axis
lifespan=tillTrigger
entryShift=-200
actionCountry=6
targetCountry=40
addReportTo=All
text=Persia breaks its ties with the Allies and joins the Axis seeing independence from England's subjugation.
$End

//USSR and UK Invades Persia
//due to how the A.I. plans defenses we need to Annex the minor country instead of physically invade it
//otherwise it will pull the very forces attacking to defend key locations in Russia
$Annex
if_Date=8/25/1941
if_Country=40
if_Alliance=Neutral
//a control check to make sure the USSR is Allied
xyControl=241,75,Allies
AIOnlyEvent=Allies
actionCountry=40
targetCountry=4
lifespan=tillTrigger
xyArea=allHexes
addReportTo=All
surrender_FleetJoin=0
text=The USSR and UK invade Persia quickly overthrowing Reza Shah replacing him with a more pro-Allied leader Mohammad Reza Pahlavi.
$End

//UK Persia southern half goes to the UK
$ChangeTerritory
if_Date=8/1/1941
if_Country=4
if_Alliance=Allies
//a control check to make sure the USSR controls Tehran
xyControl=226,21,Allies
AIOnlyEvent=Allies
targetCountry=1
lifespan=tillTrigger
xyArea=216,17
xyArea=216,18
xyArea=217,15
xyArea=217,16
xyArea=217,17
xyArea=217,18
xyArea=218,15
xyArea=218,16
xyArea=218,17
xyArea=218,18
xyArea=218,19
xyArea=219,14
xyArea=219,15
xyArea=219,16
xyArea=219,17
xyArea=219,18
xyArea=219,19
xyArea=219,20
xyArea=220,14
xyArea=220,15
xyArea=220,16
xyArea=220,17
xyArea=220,18
xyArea=220,19
xyArea=220,20
xyArea=221,10
xyArea=221,11
xyArea=221,12
xyArea=221,13
xyArea=221,14
xyArea=221,15
xyArea=221,16
xyArea=221,17
xyArea=221,18
xyArea=221,19
xyArea=222,8
xyArea=222,9
xyArea=222,10
xyArea=222,11
xyArea=222,12
xyArea=222,13
xyArea=222,14
xyArea=222,15
xyArea=222,16
xyArea=222,17
xyArea=222,18
xyArea=222,19
xyArea=223,7
xyArea=223,8
xyArea=223,9
xyArea=223,10
xyArea=223,11
xyArea=223,12
xyArea=223,13
xyArea=223,14
xyArea=223,15
xyArea=223,16
xyArea=223,17
xyArea=223,18
xyArea=223,19
xyArea=224,6
xyArea=224,7
xyArea=224,8
xyArea=224,9
xyArea=224,10
xyArea=224,11
xyArea=224,12
xyArea=224,13
xyArea=224,14
xyArea=224,15
xyArea=224,16
xyArea=224,17
xyArea=224,18
xyArea=224,19
xyArea=225,3
xyArea=225,4
xyArea=225,5
xyArea=225,6
xyArea=225,7
xyArea=225,8
xyArea=225,9
xyArea=225,10
xyArea=225,11
xyArea=225,12
xyArea=225,13
xyArea=225,14
xyArea=225,15
xyArea=225,16
xyArea=225,17
xyArea=225,18
xyArea=226,3
xyArea=226,4
xyArea=226,5
xyArea=226,6
xyArea=226,7
xyArea=226,8
xyArea=226,9
xyArea=226,10
xyArea=226,11
xyArea=226,12
xyArea=226,13
xyArea=226,14
xyArea=226,15
xyArea=226,16
xyArea=226,17
xyArea=226,18
xyArea=226,19
xyArea=227,3
xyArea=227,4
xyArea=227,5
xyArea=227,6
xyArea=227,7
xyArea=227,8
xyArea=227,9
xyArea=227,10
xyArea=227,11
xyArea=227,12
xyArea=227,13
xyArea=227,14
xyArea=227,15
xyArea=227,16
xyArea=227,17
xyArea=227,18
xyArea=228,2
xyArea=228,3
xyArea=228,4
xyArea=228,5
xyArea=228,6
xyArea=228,7
xyArea=228,8
xyArea=228,9
xyArea=228,10
xyArea=228,11
xyArea=228,12
xyArea=228,13
xyArea=228,14
xyArea=228,15
xyArea=228,16
xyArea=228,17
xyArea=228,18
xyArea=228,19
xyArea=229,1
xyArea=229,2
xyArea=229,3
xyArea=229,4
xyArea=229,5
xyArea=229,6
xyArea=229,7
xyArea=229,8
xyArea=229,9
xyArea=229,10
xyArea=229,11
xyArea=229,12
xyArea=229,13
xyArea=229,14
xyArea=229,15
xyArea=229,16
xyArea=229,17
xyArea=229,18
xyArea=230,1
xyArea=230,2
xyArea=230,3
xyArea=230,4
xyArea=230,5
xyArea=230,6
xyArea=230,7
xyArea=230,8
xyArea=230,9
xyArea=230,10
xyArea=230,11
xyArea=230,12
xyArea=230,13
xyArea=230,14
xyArea=230,15
xyArea=230,16
xyArea=230,17
xyArea=230,18
xyArea=230,19
xyArea=231,0
xyArea=231,1
xyArea=231,2
xyArea=231,3
xyArea=231,4
xyArea=231,5
xyArea=231,6
xyArea=231,7
xyArea=231,8
xyArea=231,9
xyArea=231,10
xyArea=231,11
xyArea=231,12
xyArea=231,13
xyArea=231,14
xyArea=231,15
xyArea=231,16
xyArea=231,17
xyArea=231,18
xyArea=231,19
xyArea=232,3
xyArea=232,4
xyArea=232,5
xyArea=232,6
xyArea=232,7
xyArea=232,8
xyArea=232,9
xyArea=232,10
xyArea=232,11
xyArea=232,12
xyArea=232,13
xyArea=232,14
xyArea=232,15
xyArea=232,16
xyArea=232,17
xyArea=232,18
xyArea=232,19
xyArea=232,20
xyArea=233,3
xyArea=233,4
xyArea=233,5
xyArea=233,6
xyArea=233,7
xyArea=233,8
xyArea=233,9
xyArea=233,10
xyArea=233,11
xyArea=233,12
xyArea=233,13
xyArea=233,14
xyArea=233,15
xyArea=233,16
xyArea=233,17
xyArea=233,18
xyArea=233,19
xyArea=233,20
xyArea=234,3
xyArea=234,4
xyArea=234,5
xyArea=234,6
xyArea=234,7
xyArea=234,8
xyArea=234,9
xyArea=234,10
xyArea=234,11
xyArea=234,12
xyArea=234,13
xyArea=234,14
xyArea=234,15
xyArea=234,16
xyArea=234,17
xyArea=234,18
xyArea=234,19
xyArea=234,20
xyArea=234,21
xyArea=235,3
xyArea=235,4
xyArea=235,5
xyArea=235,6
xyArea=235,7
xyArea=235,8
xyArea=235,9
xyArea=235,10
xyArea=235,11
xyArea=235,12
xyArea=235,13
xyArea=235,14
xyArea=235,15
xyArea=235,16
xyArea=235,17
xyArea=235,18
xyArea=235,19
xyArea=235,20
xyArea=236,3
xyArea=236,4
xyArea=236,5
xyArea=236,6
xyArea=236,7
xyArea=236,8
xyArea=236,9
xyArea=236,10
xyArea=236,11
xyArea=236,12
xyArea=236,13
xyArea=236,14
xyArea=236,15
xyArea=236,16
xyArea=236,17
xyArea=236,18
xyArea=236,19
xyArea=236,20
xyArea=236,21
xyArea=237,3
xyArea=237,4
xyArea=237,5
xyArea=237,6
xyArea=237,7
xyArea=237,8
xyArea=237,9
xyArea=237,10
xyArea=237,11
xyArea=237,12
xyArea=237,13
xyArea=237,14
xyArea=237,15
xyArea=237,16
xyArea=237,17
xyArea=237,18
xyArea=237,19
xyArea=237,20
xyArea=237,21
xyArea=238,3
xyArea=238,4
xyArea=238,5
xyArea=238,6
xyArea=238,7
xyArea=238,8
xyArea=238,9
xyArea=238,10
xyArea=238,11
xyArea=238,12
xyArea=238,13
xyArea=238,14
xyArea=238,15
xyArea=238,16
xyArea=238,17
xyArea=238,18
xyArea=238,19
xyArea=238,20
xyArea=238,21
xyArea=239,3
xyArea=239,4
xyArea=239,5
xyArea=239,6
xyArea=239,7
xyArea=239,8
xyArea=239,9
xyArea=239,10
xyArea=239,11
xyArea=239,12
xyArea=239,13
xyArea=239,14
xyArea=239,15
xyArea=239,16
xyArea=239,17
xyArea=239,18
xyArea=239,19
xyArea=239,20
xyArea=239,21
xyArea=240,3
xyArea=240,4
xyArea=240,5
xyArea=240,6
xyArea=240,7
xyArea=240,8
xyArea=240,9
xyArea=240,10
xyArea=240,11
xyArea=240,12
xyArea=240,13
xyArea=240,14
xyArea=240,15
xyArea=240,16
xyArea=240,17
xyArea=240,18
xyArea=240,19
xyArea=240,20
xyArea=240,21
xyArea=241,3
xyArea=241,4
xyArea=241,5
xyArea=241,6
xyArea=241,7
xyArea=241,8
xyArea=241,9
xyArea=241,10
xyArea=241,11
xyArea=241,12
xyArea=241,13
xyArea=241,14
xyArea=241,15
xyArea=241,16
xyArea=241,17
xyArea=241,18
xyArea=241,19
xyArea=241,20
xyArea=241,21
text=UK occupies the Southern part of Persia after Operation Countenance.
addReportTo=All
$End

//Iraq coup
$ChangeEntry
if_Date=4/1/1941
if_Country=2
if_Surrender=true
xyControl=186,10,Axis
lifespan=tillTrigger
entryShift=-50
actionCountry=6
targetCountry=27
addReportTo=All
text=Iraq's pro Allied government is overthrown in the Rashid Ali Al-Gaylani coup and stops trade with the Allies. UK prepares to reinforce Allied units in the area.
$End

//Iraq joins Axis
$ChangeEntry
if_Date=1/1/1939
xyControl=214,14,Neutral
xyControl=193,8,Axis
lifespan=tillTrigger
entryShift=-200
actionCountry=6
targetCountry=27
addReportTo=All
text=Iraq joins the Axis powers seeking independence and freedom from the English.
$End

//Italy joins the Axis if Iraq is invaded by the Allies
$ChangeEntry
if_Date=1/1/1939
if_Country=27
if_Alliance=Axis
//Italy is neutral
xyControl=158,35,Neutral
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With Allied forces occupied in Iraq Italy sees an opportunity to advance on UK territory and joins the Axis.
$End

//Italy joins the Axis if Persia is invaded by the Allies
$ChangeEntry
if_Date=1/1/1939
if_Country=40
if_Alliance=Axis
//Italy is neutral
xyControl=158,35,Neutral
targetCountry=7
lifespan=tillTrigger
entryShift=-200
addReportTo=All
text=With Allied forces occupied in Persia Italy sees an opportunity to advance on UK territory and joins the Axis.
$End

//*****************************************************************
//UK Overthrows Iraq
$Annex
if_Date=5/31/1941
xyControl=214,14,Neutral
xyControl=186,10,Axis
actionCountry=27
targetCountry=1
lifespan=tillTrigger
addReportTo=All
surrender_FleetJoin=0
AIOnlyEvent=Allies
text=UK overthrows the coup and takes control of Iraq. Their forces were ill equipped to fight the veteran Commonwealth army.
$End

//*****************************************************************
//UK Overthrows Iraq
$Annex
if_Date=5/31/1941
xyControl=214,14,Neutral
xyControl=186,10,Axis
actionCountry=27
targetCountry=1
lifespan=tillTrigger
addReportTo=All
surrender_FleetJoin=0
AIOnlyEvent=Allies
text=UK overthrows the coup and takes control of Iraq. Their forces were ill equipped to fight the veteran Commonwealth army.
$End

//Sweden stops sending resources to Germany when Allies occupy Paris after 1943
$ChangeEntry
if_Date=1/1/1943
//Paris
xyControl=140,51,Allies
actionCountry=3
targetCountry=47
lifespan=tillTrigger
entryShift=110
text=Under Allied pressure Sweden stops sending iron ore to Germany as Allies liberate Paris.
addReportTo=All
$End

//Azores goes to UK
$ChangeTerritory
if_Date=10/15/1943
if_Country=43
if_Alliance=Neutral
//Azores
targetCountry=3
lifespan=tillTrigger
xyArea=98,27
xyArea=99,26
xyArea=100,26
text=Portugal agrees to allow the Allies to base military units in the Azores.
addReportTo=All
$End

//USA to UK destroyers for bases
$ModifyCountry
if_Date=9/2/1940
actionCountry=1
lifespan=tillTrigger
escorts=5
addReportTo=All
text=USA Lend Lease destroyers arrive at England in exchange for bases in the Caribbean, +5 escorts.
$End

//Greenland's independence guaranteed by the USA
$Information
if_Date=4/9/1941
if_Country=17
if_Surrender=true
lifespan=tillTrigger
text=The USA guarantees the independence of Greenland after Denmark's fall.
addReportTo=All
$End

//Greenland is invaded by the Axis
$ChangeEntry
if_Date=9/1/1939
if_Country=3
if_Alliance=Neutral
//Axis in Greenland
landUnitInRadius=50,83,1,15,Axis
lifespan=tillTrigger
targetCountry=3
entryShift=30
text=USA concerned about Axis forces in Greeland and increases the military. +30 Allies status
addReportTo=All
$End

//Greenland allows US to base units
$ChangeTerritory
if_Date=4/9/1941
//Greenland
if_Country=60
if_Alliance=Neutral
lifespan=tillTrigger
targetCountry=3
xyArea=47,80
xyArea=48,81
xyArea=49,81
xyArea=50,81
xyArea=48,80
xyArea=49,80
xyArea=50,80
text=Greenland allows the USA and UK to base aircraft within its borders.
addReportTo=All
$End

//Greenland allows UK to base units
$ChangeTerritory
if_Date=4/9/1941
//Greenland
if_Country=60
if_Alliance=Neutral
lifespan=tillTrigger
targetCountry=1
xyArea=56,77
$End

//US lend lease to UK
$TradeAgreement
if_Date=1/1/1941
if_Country=3
if_Entry=70
actionCountry=3
targetCountry=1
lifespan=tillTrigger
PP=20
text=The USA begins Lend Leasing the UK much needed resources to fight the war.
addReportTo=All
$End

//UK sends lend lease to the USSR
$TradeAgreement
if_Date=1/1/1941
if_Country=4
if_Alliance=Allies
actionCountry=1
targetCountry=4
lifespan=tillTrigger
AIOnlyEvent=Allies
PP=15
text=The UK begins sending war material to the USSR via Arctic convoys.
addReportTo=All
$End

//US lend lease to USSR
$TradeAgreement
if_Date=6/1/1942
if_Country=4
if_Alliance=Allies
actionCountry=3
targetCountry=4
lifespan=tillTrigger
AIOnlyEvent=Allies
PP=15
text=The USA begins sending war material to the USSR via Arctic convoys.
addReportTo=All
$End

//D-Day extra supply depots for Allies
$ModifyCountry
if_Date=5/1/1944
landUnitInRadius=133,51,1,5,Allies
actionCountry=1
lifespan=tillTrigger
AIOnlyEvent=Allies
supplyTruck=120
supplyOiler=10
$End

$ModifyCountry
if_Date=5/1/1944
landUnitInRadius=133,51,1,5,Allies
actionCountry=3
lifespan=tillTrigger
AIOnlyEvent=Allies
supplyTruck=70
supplyOiler=10
$End

//*******************
//German synth plants
$GiveResource
if_Date=3/1/1940
xyControl=150,57,Axis
actionCountry=6
lifespan=tillTrigger
//synth plant
xyArea=150,57,13
addReportTo=Axis
text=German synthetic fuel plant comes online at hex 150, 57 providing 5 oil.
$End

$GiveResource
if_Date=3/1/1941
xyControl=157,56,Axis
actionCountry=6
lifespan=tillTrigger
//synth plant
xyArea=157,56,13
addReportTo=Axis
text=German synthetic fuel plant comes online at hex 157, 56 providing 5 oil.. 
$End

$GiveResource
if_Date=3/1/1942
xyControl=159,53,Axis
actionCountry=6
lifespan=tillTrigger
//synth plant
xyArea=159,53,13
addReportTo=Axis
text=German synthetic fuel plant comes online at hex 159, 53 providing 5 oil.
$End

$GiveResource
if_Date=3/1/1943
xyControl=148,59,Axis
actionCountry=6
lifespan=tillTrigger
//synth plant
xyArea=148,59,13
addReportTo=Axis
text=German synthetic fuel plant comes online at hex 148, 59 providing 5 oil.
$End

$GiveResource
if_Date=3/1/1944
xyControl=152,61,Axis
actionCountry=6
lifespan=tillTrigger
//synth plant
xyArea=152,61,13
addReportTo=Axis
text=German synthetic fuel plant comes online at hex 152, 61 providing 5 oil.
$End

//Waffen SS
$ModifyCountry
if_Date=1/1/1941
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=6/1/1941
if_Country=2
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=1/1/1942
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=6/1/1942
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=1/1/1943
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=6/1/1943
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

$ModifyCountry
if_Date=1/1/1944
lifespan=tillTrigger
actionCountry=6
manpower=120
addReportTo=Axis
text=Foreign volunteers join the Waffen SS. Germany gains 120 manpower.
$End

//Atlantic Wall
$GiveResource
if_Date=1/1/1943
lifespan=tillTrigger
actionCountry=6
xyArea=131,50,22
xyArea=131,51,22
xyArea=132,50,22
xyArea=134,48,22
AIOnlyEvent=Axis
$End

//Atlantic Wall
$GiveResource
if_Date=7/1/1943
lifespan=tillTrigger
actionCountry=6
xyArea=134,49,22
xyArea=135,42,22
xyArea=135,46,22
xyArea=135,52,22
AIOnlyEvent=Axis
$End

//Atlantic Wall
$GiveResource
if_Date=1/1/1944
lifespan=tillTrigger
actionCountry=6
xyArea=142,57,22
xyArea=144,59,22
xyArea=152,69,22
xyArea=152,70,22
xyArea=152,71,22
AIOnlyEvent=Axis
$End

//Germany gets italian fascist corps
$GiveUnit
if_Date=1/1/1943
if_Country=7
if_Surrender=true
xyControl=153,43,Axis
lifespan=tillTrigger
actionCountry=6
unitID=2
name=Lombardia Corps
addReportTo=All
text=Mussolini reforms the Italian facist government in Northern Italy creating the Lombardia Corps.
xyArea=153,43
$End


//German armarments production increases message at war with USSR
$Information
if_Date=10/1/1941
if_Country=4
if_Alliance=Allies
lifespan=once
text=Losses on the Eastern Front are not sustainable. A reorganization of armaments production is in action to keep up with replacements.
addReportTo=Axis
$End

//German armarments production increases message at peace with USSR
$Information
if_Date=10/1/1941
if_Country=4
if_Alliance=Neutral
lifespan=once
text=Soviet armies are continuing their reorganization and strengthening. A reorganization of armaments production is in action for the future conflict with the Soviet Union in 1942.
addReportTo=Axis
$End

//Jan 1942-July 1944 German armament production efficiency
//German armaments increase +3%
$ModifyCountry
if_Date=2/1/1942
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments production begins its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=6/1/1942
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=10/1/1942
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=2/1/1943
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=6/1/1943
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=10/1/1943
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=2/1/1944
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments continues its reorganization +3% economic multiple.
addReportTo=Axis
$End

//German armaments increase +3%
$ModifyCountry
if_Date=7/1/1944
actionCountry=6
lifespan=tillTrigger
industrial=3
text=German armaments finishes its reorganization +3% economic multiple.
addReportTo=Axis
$End


//Iraq and Iran oil resources always are under German control
$ChangeTerritory
if_Date=9/1/1939
lifespan=continuous
xyControl=212,21,Axis
actionCountry=7
targetCountry=6
xyArea=212,21
$End

//Iraq and Iran oil resources always are under German control
$ChangeTerritory
if_Date=9/1/1939
lifespan=continuous
xyControl=215,19,Axis
actionCountry=7
targetCountry=6
xyArea=215,19
$End

//Iraq and Iran oil resources always are under German control
$ChangeTerritory
if_Date=9/1/1939
lifespan=continuous
xyControl=215,16,Axis
actionCountry=7
targetCountry=6
xyArea=215,16
$End

//Iraq and Iran oil resources always are under German control
$ChangeTerritory
if_Date=9/1/1939
lifespan=continuous
xyControl=223,9,Axis
actionCountry=7
targetCountry=6
xyArea=223,9
$End